<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="/js/jquery-3.6.0.min.js"></script>
    <link href="../css/login.css" type="text/css" rel="stylesheet">
    <link href="../css/tb.css" type="text/css" rel="stylesheet">
</head>
<body>
    <div th:include="common/inc"></div>
    <div class="formDiv" style="width: 580px;height: 515px;border-radius: 15px;border: 1px solid #D9D8D8">
        <h2 class="text-center">账号信息</h2>
        <form id="loginForm">
            <div class="dataform">
                <div class="input-warp" style="height: 130px">
                    <span class="input-icon iconfont icon-tuoian">&nbsp;&nbsp;&nbsp;&nbsp;头像:</span>
                    <img th:src="${user1.userImg}" width="100px" height="100px">
                </div>
                <div class="input-warp gap">
                    <span class="input-icon iconfont icon-quanxian">&nbsp;&nbsp;&nbsp;&nbsp;编号:</span>
                    <input width="200px" id="userId" name="userId" type="text" readonly class="inputs" th:value="${user1.userId}" maxlength="64">
                </div>
                <div class="input-warp gap">
                    <span class="input-icon iconfont icon-yonghu1">&nbsp;&nbsp;&nbsp;&nbsp;昵称:</span>
                    <input width="200px" id="userName" name="userName" type="text" readonly class="inputs" th:value="${user1.userName}" maxlength="64">
                </div>
                <div class="input-warp gap">
                    <span class="input-icon iconfont icon-email">&nbsp;&nbsp;&nbsp;&nbsp;邮箱:</span>
                    <input width="200px" id="userMail" name="userMail" type="text" readonly class="inputs" th:value="${user1.userMail}" maxlength="64">
                </div>
                <div class="input-warp gap">
                    <span class="input-icon iconfont icon-dianhua1">&nbsp;&nbsp;&nbsp;&nbsp;手机:</span>
                    <input width="200px" id="userPhone" name="userPhone" type="text" readonly class="inputs" th:value="${user1.userPhone}" maxlength="64">
                </div>
                <div class="input-warp gap">
                    <span class="input-icon iconfont icon-baomi">&nbsp;&nbsp;&nbsp;&nbsp;密码:</span>
                    <input style="width:210px;"  class="inputs" type="password" readonly id="pwd1" th:value="${user1.userPass}" maxlength="20">
                    <a th:href="@{/user/toChangePass}" target="main">
                        修改密码
                    </a>
                </div>
            </div>
        </form>
    </div>
</body>
</html>